body {
  background-color: $colorBgBase;
}
.h-screen{
  height: 100vh;
}

#container-layout-wrapper{
  height: 100vh;
  min-width: 1200px;
  .layout-content{
    height: 100%;
  }
  .layout-top-nav-popup{
  
  
    .ant-menu-submenu-selected{
      .ant-menu-submenu-title{
        background: linear-gradient(90deg, $primary-1, $primary);
        color: #fff !important;
      }
    }
  
    .ant-menu-item-selected{
      background: linear-gradient(90deg, $primary-1, $primary);
      color: #fff;
    }
  }
  
  
  .layout-slider {
    // background-color: $colorBgContainer;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    border-right: 1px solid rgba(116, 186, 251, 0.43);
    // background-image: linear-gradient(0deg, $primary, $primary-1 50%);
    background-color: $colorBgBase;
    // background-image: linear-gradient(0deg, $primary, $primary-1 50%);
    .layout-slider-logo{
      line-height: 64px;
      font-size: 18px;
      width: 250px;
      text-align: center;
    }
    .layout-slider-nav{
      height: 100%;
    }
    .ant-menu{
      height: 100%;
      border: none !important;
    }
    .layout-slider-close{
      width: 188px;
      height: 40px;
      left: 50%;
      position: absolute;
      transform: translateX(-50%);
      bottom: 38px;
      border-radius: 6px;
      cursor: pointer;
      background-color: $primary;
      background-image: url('@/assets/images/layout/s-fold.png');
      background-repeat: no-repeat;
      background-position: center;
    }
  
    .layout-slider-nav{
      .ant-menu-item-selected{
        background: linear-gradient(90deg, $primary-1, $primary);
      }
    }
  }
  
  .layout-slider-open{
    position: fixed;
    left: 0;
    top: 50%;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    border-radius: 0 4px 4px 0;
    background-color: $primary;
    cursor: pointer;
    background-image: url('@/assets/images/layout/s-unfold.png');
    background-repeat: no-repeat;
    background-position: center;
  }
}



#dashboard-layout-wrapper{
  height: 100vh;
  .layout-header {
    line-height: 64px;
    width: 100%;
    top: 0;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    color: #fff;
    border-bottom: 1px solid $colorBorder;
    background-color: $colorBgBase;
    z-index: 10;
    // background-image: linear-gradient(90deg, $primary-1, $primary);
    .logo-p{
      font-size: 22px; 
      width: 250px;
      text-align: center;
    }
    .sep{
      margin: 0 10px;
    }
    .pull-right{
      padding-right: 20px;
      .ant-dropdown-trigger{
        color: #d7d8db;
      }
    }
  }

  .layout-top-nav{
    flex: 1;
    .ant-menu-horizontal{
      border-bottom: none;
      line-height: inherit;
    }
    .ant-menu{
      background: none;
    }
  
    .ant-menu .ant-menu-submenu-title {
      color: #fff;
    }
    
    .ant-menu-submenu{
      padding-inline: 0 !important;
    }
  
    .ant-menu-submenu-title {
      color: #fff;
      padding: 0 20px;
      border-radius: 0 !important;
      &:hover{
        background: rgba(64,158,255,.1) !important;
      }
    }
  
    .ant-menu-submenu-selected{
      .ant-menu-submenu-title{
        background: linear-gradient(180deg,rgba(0,0,0,.1),$primary-1 70%) !important;
        color: #fff !important;
      }
    }
    .ant-menu-item-selected{
      background: linear-gradient(180deg,rgba(0,0,0,.1),$primary-1 70%) !important;
      color: #fff;
    }
  }
  .layout-content{
    height: 100%;
    // height: calc(100vh - 64px);
    padding-top: 64px;
  }
}


#simple-layout-wrapper{
  display: flex;
  flex-direction: column;
  height: 100vh;
}

* {
  &::-webkit-scrollbar {
    width: 6px;
    background-color: rgba(147, 145, 145, 0.3);
  }

  &::-webkit-scrollbar-thumb {
    background-color: rgba(171, 171, 171, 0.3);

    &:hover {
      background-color: rgba(211, 210, 210, 0.3);
    }

    &:active {
      background-color: rgba(163, 158, 158, 0.3);
    }
  }

  & {
    scrollbar-width: thin;
    scrollbar-color: rgba(193, 193, 193, 0.3) rgba(238, 238, 238, 0.3);
  }
}
